package com.syxp.pda.entity.base;

import java.util.HashSet;
import java.util.Set;

/**
 * version: 1.0
 * 
 * date: 2011.07.12
 * 
 * author mengqingxin
 *
 */
public class Duty {

	private int dutyID ;//值次编号
	
	private String dutyName ;//次名称
	
	private String remarks ;//备注
	
	//EL_ClassDuty(班次表)与EL_Duty(值次表): 	多对多（通过EL_DutyRule(翻班规则表)表体现出来）
	private Set<ClassDuty> classDutys=new HashSet<ClassDuty>();
	
	//EL_User(用户表)与EL_Duty（值次表）：多对多（通过EL_DutyUser表体现出来）
	private Set<User> users=new HashSet<User>();

	private int departmentID ;

	public int getDepartmentID() {
		return departmentID;
	}

	public void setDepartmentID(int departmentID) {
		this.departmentID = departmentID;
	}

	public Set<ClassDuty> getClassDutys() {
		return classDutys;
	}

	public void setClassDutys(Set<ClassDuty> classDutys) {
		this.classDutys = classDutys;
	}

	public int getDutyID() {
		return dutyID;
	}

	public void setDutyID(int dutyID) {
		this.dutyID = dutyID;
	}

	public String getDutyName() {
		return dutyName;
	}

	public void setDutyName(String dutyName) {
		this.dutyName = dutyName;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public Set<User> getUsers() {
		return users;
	}

	public void setUsers(Set<User> users) {
		this.users = users;
	}
	
	
}
